import static org.junit.Assert.*;
import org.junit.*;


public class  Test1 {
@Test
public void testAdd()
{
	int num1 = 3;
	int num2 = 2;
	int total = 5;
	int sum = 0;
	sum = Math1.add(num1,num2);
	assertEquals(sum,total);	
}
@Test
public void testMulitply()
{
	int num1 = 3;
	int num2 = 7;
	int total = 21;
	int sum =0;
	sum = Math1.multiply(num1,num2);
	assertEquals("Problem with mulitply",sum,total);
	
	num1 = 5;
	num2 = 4;
	total = 20;
	sum =0;
	sum = Math1.multiply(num1,num2);
	assertEquals("Problem with mulitply",sum,total);	
}
@Test
	public void testOther()
	{
		int num1 = 100;
		int num2 = 56;
		int num3 = -5;
		int total = 781;
		int sum = Math1.add(num1,num2);
		sum = Math1.multiply(sum,num3);
		assertEquals("Problem with (num1 + num2) * num3",sum,total);
	}
}